import ElementPlus from 'element-plus'
import 'element-plus/lib/theme-chalk/index.css'
import { createApp } from 'vue'
import App from './App.vue'
import router from './router/index'
import '@/assets/icon/iconfont.css'
import '../public/index.css'
import 'bootstrap'

// 全局引入axios
import axios from 'axios'
//配置路径;
axios.defaults.baseURL = "http://localhost:1000"

const app = createApp(App);
app.use(ElementPlus);
app.use(router)

//挂在axios
app.config.globalProperties.$http = axios



app.mount('#app')